﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MemoLib;

namespace MemoLib.Operations
{
    /// <summary>
    /// 消息提醒类操作
    /// </summary>
    public class MessageOperation : Operation
    {
        private string message = string.Empty;

        public string Message
        {
            get { return message; }
            set { message = value; }
        }

        public override void Execute()
        {
            ExecuteContext.MessageBusket.Add(message);
        }
    }
}
